package com.example.application.bean;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 评论类
 */
public class Comment implements Serializable {

    //评论id
    private Integer id;
    //服务门店
    private Store store;
    //评价时间
    private LocalDateTime time;
    //评分
    private int score;
    //评价内容
    private String content;
    //上传图片
    private String pic;
    //评价性质
    private String type;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Store getStore() {
        return store;
    }

    public void setStore(Store store) {
        this.store = store;
    }

    public LocalDateTime getTime() {
        return time;
    }

    public void setTime(LocalDateTime time) {
        this.time = time;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "id=" + id +
                ", store=" + store +
                ", time=" + time +
                ", score=" + score +
                ", content='" + content + '\'' +
                ", pic='" + pic + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
